<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<!--<script src="demo2.js"></script>-->
<script>
    //        Index("asdfghj","j");
//   var p = document.createElement('p'); //创建一个段落p
//    document.body.appendChild(p); //将p添加到body的最尾部
//    console.log(p);
    this.a = 37;
    console.log(window.a);
</script>
</html>